package com.hospital.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("hospitalization")
public class Hospitalization {
    @TableId(value = "hId", type = IdType.AUTO)
    private Integer hId;
    private String hNumber;
    private Integer aId;
    private Integer pId;
    private Integer dId;
    private Integer depId;
    private Integer bId;
    private LocalDateTime hAdmissionTime;
    private LocalDateTime hDischargeTime;
    private String hDiagnosis;
    private String hTreatment;
    private Integer hState;
    private BigDecimal hTotalCost;
    private BigDecimal hDailyFee;
    private String hRemark;
    private LocalDateTime hCreateTime;
}
